//
//  ScrollTouchBegan.m
//  MetroNews
//
//  Created by 郭景豪 on 2014/4/15.
//  Copyright (c) 2014年 porschemax. All rights reserved.
//

#import "ScrollTouchBegan.h"

@implementation ScrollTouchBegan

- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        // Initialization code
    }
    return self;
}
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
{
    if(!self.dragging)
    {
        [[self nextResponder] touchesBegan:touches withEvent:event];
    }
    [super touchesBegan:touches withEvent:event];
    
}
//- (UIView *)viewForZoomingInScrollView:(UIScrollView *)scrollView
//{
//    UIView *view = nil;
//    view = [[scrollView subviews]objectAtIndex:0];
//    return view;
//
//}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect
{
    // Drawing code
}
*/

@end
